3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
An ellipse is a two-dimensional curve defined by an origin (that is, the center of the ellipse) and two vectors that define the major and minor radii of the ellipse. The origin and the two points at the end of the major and minor radii define the plane in which the ellipse lies. An ellipse is defined by the TQ3EllipseData data type. See "Creating and Editing Ellipses" for a description of the routines you can use to create and edit ellipses. Figure 28 shows an ellipse.
typedef struct TQ3EllipseData {
TQ3Point3D origin;
TQ3Vector3D majorRadius;
TQ3Vector3D minorRadius;
float uMin, uMax;
TQ3AttributeSet ellipseAttributeSet;
} TQ3EllipseData;
Previous | QD3D Book | Overview | Chapter Contents | Next |